﻿#ifndef STDAFX_H
#define STDAFX_H

#define         IMAGERELATIONPATH                      "/resources/images/"               //图片相对路径
#define         QSSRELATIONPATH                        "/resources/qss/"                  //qss文件相对路径
#define         QMLRELATIONPATH                        "/resources/qml/"                  //qml文件相对路径
#define         XMLRELATIONPATH                        "/resources/xml/"                  //xml文件相对路径
#define         PLUGINRELATIONPATH                     "/plugins/"                        //插件路径
#define         WARNINGPICRELATIONPATH                 "/EventPic/"                        //告警图片相对路径
#define         WARNINGSOUNDRELATIONPATH               "/resources/sounds/"                //告警声音相对路径

#define         VIDEOPANELDEFAULTDATA                  "deviceID:default,taskID:default"  //视频窗口默认值
#define         DIVICEID                               "deviceID:"
#define         TASKID                                 "taskID:"
#define         DEFAULT                                "default"
#define         VIDEO                                  "video"
#define         AUDIO                                  "audio"
#define         BITSTREAM                              "bitstream"
#define         VIDEONAME                              "videoName"
#define         DEFAULTVIDEONAME                       "设备名称"
#define         DEFAULTRESOLUTION                      ""//"分辨率"
#define		    WARNINGSTR_ARG                         "您的设置参数不正确。请检查..."
#define		    WARNINGSTR_USERNAMEANDPASS             "您输入的用户名或密码不正确。请检查..."
#define		    WARNINGSTR_LOADING                     "登录中..."
#define		    WARNINGSTR_USERNAMEORPASSNULL          "用户名或密码为空。请检查..."


unsigned int const NEXTRASMALLICONSIZE           = 16;        // 特小号icon大小
unsigned int const NLITTLEICONSIZE               = 24;        // 小号icon大小
unsigned int const NCONTROLLOGINHEIGHT           = 40;        // 登录框中条形控件高度
unsigned int const NCONTROLSETTINGHEIGHT         = 32;        // 登录框中条形控件高度
unsigned int const NLOGINPANELCONTROLBTNWIDTH    = 24;        // 登录框中面板控制按钮宽度
unsigned int const NSAVEBTNWIDTH                 = 72;        // 设置保存按钮宽度
unsigned int const NSAVEBTNHEIGHT                = 30;        // 设置保存按钮高度
unsigned int const NCAMERACONTROLBTNWIDTH        = 30;        // 主控界面镜头控制按钮宽度

unsigned int const NSPLITSCREENWIDTH             = 78;        // 分屏弹框中按钮宽度
unsigned int const NSPLITSCREENHEIGHT            = 52;        // 分屏弹框中按钮高度




#endif // STDAFX_H
